package com.liliudong.template.api.admin.config;

import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
import com.liliudong.template.api.admin.handler.SimpleMetaObjectHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 自定义Mybatis配置类
 *
 * @author ldli5
 * @classname SimpleMybatisPlusConfiguration
 * @date 2024/6/19-15:06
 */
@Configuration
public class SimpleMybatisPlusConfiguration {

	/**
	 * 元对象处理程序
	 *
	 * @return {@link MetaObjectHandler }
	 */
	@Bean
	public MetaObjectHandler metaObjectHandler() {
		return new SimpleMetaObjectHandler();
	}
}
